<template>
<div>
插件位置在components文件下loading
</div>
</template>
<script setup lang='ts'>
//获取当前实例
const instance = getCurrentInstance()
onMounted(()=>{
  instance?.proxy?._loading.show('加载中...') 
  setTimeout(() => {
    instance?.proxy?._loading.hide('加载结束')

  }, 3000)
})

</script>
<style scoped lang='less'>
</style>